Skip to content

Update dice.py#1148

Closed
nistring wants to merge 1 commit intoqubvel-org:mainfrom
nistring:patch-1
Closed

Update dice.py#1148
nistring wants to merge 1 commit intoqubvel-org:mainfrom
nistring:patch-1

Conversation

@nistring
Copy link

The dice loss varies with batch sizes, and this issue remains unresolved. #712 (comment)

The dice loss varies with batch sizes, and this issue remains unresolved.
#712 (comment)
@qubvel
Copy link
Collaborator

qubvel commented May 14, 2025

Hi @nistring, thanks for your contribution! It would be nice to add different options here, I mean make it configurable while creating DiceLoss, e.g. reduction = "batchwise" / "imagewise".

@nistring
Copy link
Author

@qubvel I agree with your idea. Thank you!

@nistring nistring closed this by deleting the head repository Aug 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants